<?php

namespace app\modules\system\controllers;

use Yii;
use app\controllers\InternalBaseController;
use app\modules\system\actions as actions;

class SettingController extends InternalBaseController {
    
    public function init(){
        
    }
    
    public function actionGetbannerlist() {
        $post= Yii::$app->request->get();
        if(empty($post)) {
            $post= Yii::$app->request->post();
        }
        $action = new actions\Setting();
        $ret = $action->GetBannerList($post);
        return $ret;
    }
    
    public function actionSetbannerlist() {
        $post= Yii::$app->request->get();
        if(empty($post)) {
            $post= Yii::$app->request->post();
        }
        $action = new actions\Setting();
        $ret = $action->SetBannerList($post);
        return $ret;
    }
}